Braintree\Configuration C

Total Complexity 124
Dependencies 5
Dependents 31
Total lines 807
Lines of code 347
Logical lines of code 185
Comment lines 306
Methods 62
Properties 16

Methods 62

Method Rating Maintainability Complexity Lines of code
__construct()
B
41 20 52
serverName()
S
57 6 19
graphQLServerName()
S
57 6 19
sslOn()
S
60 6 15
assertHasAccessTokenOrKeys()
S
60 6 13
caFile()
S
64 3 9
portNumber()
S
71 3 6
graphQLPortNumber()
S
71 3 6
acceptGzipEncoding()
S
71 2 6
isUsingProxy()
S
72 2 5
isAuthenticatedProxy()
S
72 2 5
protocol()
S
79 2 3
assertHasClientId()
S
73 2 5
assertHasClientSecret()
S
73 2 5
proxyPassword()
S
71 2 6
proxyType()
S
71 2 6
proxyPort()
S
71 2 6
proxyHost()
S
71 2 6
sslVersion()
S
71 2 6
timeout()
S
71 2 6
privateKey()
S
71 2 6
publicKey()
S
71 2 6
merchantId()
S
71 2 6
environment()
S
69 2 7
proxyUser()
S
71 2 6
setAcceptGzipEncoding()
S
81 1 3
setProxyUser()
S
81 1 3
setProxyPassword()
S
81 1 3
setTimeout()
S
81 1 3
setSslVersion()
S
81 1 3
merchantPath()
S
80 1 3
getAccessToken()
S
82 1 3
isAccessToken()
S
80 1 3
isClientCredentials()
S
80 1 3
baseUrl()
S
78 1 3
graphQLBaseUrl()
S
78 1 3
setProxyPort()
S
81 1 3
setProxyType()
S
81 1 3
getTimeout()
S
82 1 3
setProxyHost()
S
81 1 3
getProxyHost()
S
82 1 3
gateway()
S
80 1 3
assertGlobalHasAccessTokenOrKeys()
S
80 1 3
assertHasClientCredentials()
S
78 1 4
getEnvironment()
S
82 1 3
getMerchantId()
S
82 1 3
getPublicKey()
S
82 1 3
getClientId()
S
82 1 3
getPrivateKey()
S
82 1 3
getClientSecret()
S
82 1 3
getProxyPort()
S
82 1 3
setPrivateKey()
S
81 1 3
getProxyType()
S
82 1 3
getProxyUser()
S
82 1 3
getProxyPassword()
S
82 1 3
reset()
S
79 1 3
getSslVersion()
S
82 1 3
getAcceptGzipEncoding()
S
82 1 3
setEnvironment()
S
81 1 3
setMerchantId()
S
81 1 3
setPublicKey()
S
81 1 3
logMessage()
S
80 1 3